package com.example.boxueguapplication.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.util.List;

@XStreamAlias("infos")
public class XiTi {

    @XStreamImplicit(itemFieldName = "exercises")
    public List<XiTiItem> xitis;

    @XStreamAlias("exercises")
    public class XiTiItem{
        public String subject;
        public String a;
        public String b;
        public String c;
        public String d;
        public Integer answer;
    }
}
